package com.lovo.middleman.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.List;

@Data
@TableName("t_user")
public class UserBean {

    //id
    @TableId(value = "user_id",type = IdType.AUTO)
    private int  userId;
    //用户名
    private String userName;
    //真实姓名
    private String name;
    //密码
    private String passWord;

    @TableField(exist = false)
    private List<Integer> purviewList;
    @TableField(exist = false)
    private List<RoleBean> roleBeanList;


}
